<?php
namespace Helpers;

interface UserInterface {

    public static function isLogin();

    public static function isAdmin();

    public static function getId();

    public static function isStaff($userId = null);

    public static function login($account, $password, $smsCode = '');

    public static function allSchoolPower($userId = null);

    public static function getSchool($withName = false, $userId = null, $boolSuccess = false);

    public static function setPassword($userIds, $password);

    public static function getExtraPower($type, $target, $userId = null, $boolSuccess = false);
}